import { post } from '../utils/request'

export const loginAPI = data => post('/api/v1/auth/login', data)

export const regAPI = data => post('/api/v1/auth/reg', data) 